<?php


namespace app\app\controller\sys;


use app\model\PositionModel;
use app\services\Permission;

class Position
{
    /**
     * @Permission(action="sys:position:lst")
     */
    public function lst(){
        $plst = PositionModel::select();
        return success($plst);
    }

    /**
     * @Permission(action="sys:position:add")
     */
    public function add(){

    }

    /**
     * @Permission(action="sys:position:edt")
     */
    public function edt(){

    }

    /**
     * @Permission(action="sys:position:del")
     */
    public function del(){

    }
}